package com.company.homework;

import java.io.File;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception{
        File file=CreateEquation.createEquation();

        System.out.println("现在开始读入文件"+file+".........................\n");

        Scanner input=new Scanner(file);

        while (input.hasNext()){
            String line=input.nextLine();
            Transition transition=new TransitionImp(line);
            transition.printPostfixExpression();
        }
    }
}
